package cn.besbing.server.service.primary;

import cn.besbing.model.mapper.primary.CronMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CronServiceImpl {

    @Autowired(required = false)
    CronMapper cronMapper;

    public String getCron(String key){
        return cronMapper.selectByPrimaryKey(key).getCron();
    }

}
